From: Pavel Valena Date: Fri, 6 Mar 2026 12:09:32 +0000 (+0100) Subject: boot/dracut: use systemdsystemunitdir instead of systemdsystemconfdir X-Git-Tag: archive/raspbian/2026.2-1+rpi1~1^2~10^2^2~8^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=81c175153aa8c36af3368c04d1cdf089c05a941f;p=ostree.git boot/dracut: use systemdsystemunitdir instead of systemdsystemconfdir since dracut-109 [*], the systemdsystemconfdir exists only in hostonly mode, which leads to unbootable system; as documented here: https://src.fedoraproject.org/rpms/dracut/pull-request/90 [*] https://github.com/dracut-ng/dracut-ng/commit/2991f74a --- diff --git a/src/boot/dracut/module-setup.sh b/src/boot/dracut/module-setup.sh index 06d74600..4a70a2ee 100755 --- a/src/boot/dracut/module-setup.sh +++ b/src/boot/dracut/module-setup.sh @@ -46,7 +46,7 @@ install() { inst_simple "/etc/ostree/initramfs-root-binding.key" fi inst_simple "${systemdsystemunitdir}/ostree-prepare-root.service" - mkdir -p "${initdir}${systemdsystemconfdir}/initrd-root-fs.target.wants" + mkdir -p "${initdir}${systemdsystemunitdir}/initrd-root-fs.target.wants" ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \ - "${systemdsystemconfdir}/initrd-root-fs.target.wants/ostree-prepare-root.service" + "${systemdsystemunitdir}/initrd-root-fs.target.wants/ostree-prepare-root.service" }